﻿using MediatR;
using S.Breed.Domain;
using S.Breed.Domain.Dto;
using S.Common.ApiResult;

namespace S.Breed.Read.ApI.Application.Command
{
    public class MaternalMatingCommand
    {
        public class ShowMaternalMatingCommand : IRequest<ApiResult<List<ShowMaternalMatingDto>>>
        {
             public ShowMaternalMatingCommand(string mdates,string ears,int heads,int page,int size)
             {
                this.Mdate = mdates;
                this.Ear = ears;
               this.Head = heads;
                this.Size = size;
                this.Page = page;

            }
        public string Mdate { get; set; }
        public string Ear { get; set; }
        public int Head { get; set; }
        public int Page { get; set; }
        public int Size { get; set; }
        }
    }
    /// <summary>
    /// 配种信息反填
    /// </summary>
    public class FanTinaCommand : IRequest<MaternalMatingModel>
    {
        public FanTinaCommand(int id)
        {
            this.id = id;

        }
        public int id { get; set; }
    }
}
